/**
 * author      : dormi330
 * date        : 2018/6/26
 * project     : mybatis
 * description : 组合 sku , 数量, 以及运费的一个简单结构, 便于存储
 */

package com.deep.trade.adaptor.required;

import com.deep.trade.adaptor.required.sku.Sku;

import java.math.BigDecimal;

public class SkuAndQtyAndFreight {
    public final Sku sku;
    public final int quanlity;
    private BigDecimal freight;

    public SkuAndQtyAndFreight(Sku sku, int quanlity) {
        this.sku = sku;
        this.quanlity = quanlity;
    }

    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }
}
